/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

import java.sql.Date;
import java.sql.Time;

/**
 *
 * @author Fam. Tapia
 */
public class ClientHistoryBean {

   private int clientHistoryId;
   private int productAmount;
   private Date clientHistoryDate;
   private Time clientHistoryTime;
   private double clientHistoryTotal;
   private int userId;
   private int productId;
   private int storeId;

    public Date getClientHistoryDate() {
        return clientHistoryDate;
    }

    public void setClientHistoryDate(Date clientHistoryDate) {
        this.clientHistoryDate = clientHistoryDate;
    }

    public int getClientHistoryId() {
        return clientHistoryId;
    }

    public void setClientHistoryId(int clientHistoryId) {
        this.clientHistoryId = clientHistoryId;
    }

    public Time getClientHistoryTime() {
        return clientHistoryTime;
    }

    public void setClientHistoryTime(Time clientHistoryTime) {
        this.clientHistoryTime = clientHistoryTime;
    }

    public double getClientHistoryTotal() {
        return clientHistoryTotal;
    }

    public void setClientHistoryTotal(double clientHistoryTotal) {
        this.clientHistoryTotal = clientHistoryTotal;
    }

    public int getProductAmount() {
        return productAmount;
    }

    public void setProductAmount(int productAmount) {
        this.productAmount = productAmount;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    @Override
    public String toString(){
        String space= "  ";
        String history = getStoreId()+space+ getProductAmount()+space+ getProductId()+space
                +getClientHistoryDate()+space+ getClientHistoryTotal()+ getClientHistoryTime();
        return history;
    }







}
